from os import name
from storage.mutex.mutex_protocol import MutexProtocol

if name == 'nt':
    from .mutex_windows import Mutex
elif name == 'posix':
    from .mutex_posix import Mutex
else:
    raise Exception('POSIX OS or NT OS mutex is supported')

__all__ = ['Mutex', 'MutexProtocol']
